{include file=member.header.html}
{include file="title.html"}
{include file=member.submenu.html}
<script type="text/javascript">
$(function(){
    $('#profile_form').validate({
        errorPlacement: function(error, element){
            $(element).after(error);
        },
        rules : {
            portrait : {
                accept   : 'gif|jpe?g|png'
            }
        },
        messages : {
            portrait  : {
                accept   : '{$lang.avatar}'
            }
        }
    });
});
</script>

<form method="post" id="password_form" enctype="multipart/form-data" >
    <ul class="form_content">
        <li>
            <h3>{$lang.user_name}:</h3>
            <p>{$profile.user_name|escape}</p>
        </li>
        <li>
            <h3>{$lang.email}:</h3>
            <p>{$profile.email|escape}</p>
        </li>
        <li>
            <h3>{$lang.portrait}:</h3>
            <p>
                <img src="{$site_url}/<!--{if $profile.portrait neq ''}-->{$profile.portrait}<!--{else}-->data/system/default_user_portrait.gif<!--{/if}-->" width="120" height="120" />
                <input name="portrait" type="file"/>
            </p>
        </li>
        <li>
            <h3>{$lang.real_name}:</h3>
            <p><input type="text"  name="real_name" id="real_name" value="{$profile.real_name|escape}"/></p>
        </li>
        <li>
            <h3>{$lang.birthday}:</h3>
            <p><input type="text"  name="birthday" id="birthday" value="{$profile.birthday|escape}"/></p>
        </li>
        <li>
            <h3>{$lang.im_qq}:</h3>
            <p><input type="text"  name="im_qq" id="real_name" value="{$profile.im_qq|escape}"/></p>
        </li>
        <li>
            <input class="red_btn" type="submit" value="{$lang.submit}" />
        </li>
    </ul>
</form>






{include file=footer.html}